package com.stottlerhenke.simbionic.api;

import com.stottlerhenke.simbionic.common.Enum;


public class SB_ParamDir extends Enum
{
  private SB_ParamDir(int state) { super(state);}

  public static final SB_ParamDir kNone = new SB_ParamDir(-1);
  public static final SB_ParamDir kIn = new SB_ParamDir(0);
  public static final SB_ParamDir kOut = new SB_ParamDir(1);
  public static final SB_ParamDir kInOut = new SB_ParamDir(2);

  public static SB_ParamDir getTypeFromInt(int value)
  {
    switch(value)
    {
      case -1: return kNone;
      case 0: return kIn;
      case 1: return kOut;
      case 2: return kInOut;
    }
    return null;
  }
}